/* @(#)GSPayReceiveMentBean.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-4-20     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSPayReceiveMentBean implements GSBaseBean {

    private String gs_pay_workcorp_id;
    private String gs_pay_workcorp_category;
    private String gs_pay_category;
    private String gs_invoice_pay_date;
    private double gs_actural_pay_num;
    private double gs_offset_total_num;
    private String gs_invoice;
    private String gs_invoice_code;
    private String gs_functionary;
    private String gs_notes;
    

    /**
     * @return 返回变量gs_actural_pay_num的值.
     */
    public double getGs_actural_pay_num() {
        return this.gs_actural_pay_num;
    }

    /**
     * @param aGs_actural_pay_num 设定变量gs_actural_pay_num的值.
     */
    public void setGs_actural_pay_num(double aGs_actural_pay_num) {
        this.gs_actural_pay_num = aGs_actural_pay_num;
    }

    /**
     * @param aGs_offset_total_num 设定变量gs_offset_total_num的值.
     */
    public void setGs_offset_total_num(double aGs_offset_total_num) {
        this.gs_offset_total_num = aGs_offset_total_num;
    }

    /**
     * @return 返回变量gs_functionary的值.
     */
    public String getGs_functionary() {
        return this.gs_functionary;
    }

    /**
     * @param aGs_functionary 设定变量gs_functionary的值.
     */
    public void setGs_functionary(String aGs_functionary) {
        this.gs_functionary = aGs_functionary;
    }

    /**
     * @return 返回变量gs_invoice的值.
     */
    public String getGs_invoice() {
        return this.gs_invoice;
    }

    /**
     * @param aGs_invoice 设定变量gs_invoice的值.
     */
    public void setGs_invoice(String aGs_invoice) {
        this.gs_invoice = aGs_invoice;
    }

    /**
     * @return 返回变量gs_invoice_code的值.
     */
    public String getGs_invoice_code() {
        return this.gs_invoice_code;
    }

    /**
     * @param aGs_invoice_code 设定变量gs_invoice_code的值.
     */
    public void setGs_invoice_code(String aGs_invoice_code) {
        this.gs_invoice_code = aGs_invoice_code;
    }

    /**
     * @return 返回变量gs_invoice_pay_date的值.
     */
    public String getGs_invoice_pay_date() {
        return this.gs_invoice_pay_date;
    }

    /**
     * @param aGs_invoice_pay_date 设定变量gs_invoice_pay_date的值.
     */
    public void setGs_invoice_pay_date(String aGs_invoice_pay_date) {
        this.gs_invoice_pay_date = aGs_invoice_pay_date;
    }

    /**
     * @return 返回变量gs_notes的值.
     */
    public String getGs_notes() {
        return this.gs_notes;
    }

    /**
     * @param aGs_notes 设定变量gs_notes的值.
     */
    public void setGs_notes(String aGs_notes) {
        this.gs_notes = aGs_notes;
    }

    /**
     * @return 返回变量gs_offset_total_num的值.
     */
    public double getGs_offset_total_num() {
        return this.gs_offset_total_num;
    }

    /**
     * @return 返回变量gs_pay_category的值.
     */
    public String getGs_pay_category() {
        return this.gs_pay_category;
    }

    /**
     * @param aGs_pay_category 设定变量gs_pay_category的值.
     */
    public void setGs_pay_category(String aGs_pay_category) {
        this.gs_pay_category = aGs_pay_category;
    }

    /**
     * @return 返回变量gs_pay_workcorp_category的值.
     */
    public String getGs_pay_workcorp_category() {
        return this.gs_pay_workcorp_category;
    }

    /**
     * @param aGs_pay_workcorp_category 设定变量gs_pay_workcorp_category的值.
     */
    public void setGs_pay_workcorp_category(String aGs_pay_workcorp_category) {
        this.gs_pay_workcorp_category = aGs_pay_workcorp_category;
    }

    /**
     * @return 返回变量gs_pay_workcorp_id的值.
     */
    public String getGs_pay_workcorp_id() {
        return this.gs_pay_workcorp_id;
    }

    /**
     * @param aGs_pay_workcorp_id 设定变量gs_pay_workcorp_id的值.
     */
    public void setGs_pay_workcorp_id(String aGs_pay_workcorp_id) {
        this.gs_pay_workcorp_id = aGs_pay_workcorp_id;
    }

    public Object process(ResultSet aResultSet) throws SQLException {
        GSPayReceiveMentBean tBean = new GSPayReceiveMentBean();
        tBean.gs_actural_pay_num = aResultSet.getDouble("GS_ACTUAL_PAY_NUM");
        tBean.gs_pay_workcorp_id = aResultSet.getString("GS_PAY_WORKCORP_ID");
        tBean.gs_pay_workcorp_category = aResultSet.getString("GS_PAY_WORKCORP_CATEGORY");
        tBean.gs_pay_category = aResultSet.getString("GS_PAY_CATEGORY");
        tBean.gs_invoice_pay_date = aResultSet.getString("GS_ACTUAL_PAY_DATE");
        tBean.gs_offset_total_num = aResultSet.getDouble("GS_OFFSET_TOTAL_NUM");
        tBean.gs_invoice = aResultSet.getString("GS_INVOICE");
        tBean.gs_invoice_code = aResultSet.getString("GS_INVOICE_CODE");
        tBean.gs_functionary = aResultSet.getString("GS_FUNCTIONARY");
        tBean.gs_notes = aResultSet.getString("GS_NOTES");
        
        return tBean;
    }

}
